﻿using YNTK.Common.Const;
using YNTK.Common.Entity;
using SqlSugar;

namespace YNTK.FileRecord.Entitys
{
    /// <summary>
    /// 文件清单基类
    /// </summary>
    [SugarTable("filerecord_fileslists")]
    [Tenant(ClaimConst.TENANT_ID)]
    public class FileInventoryEntity : CLDEntityBase
    {
        /// <summary>
        /// 所属组织id
        /// </summary>
        [SugarColumn(ColumnName = "F_OrganizeId", ColumnDescription = "所属组织id", ColumnDataType = "nvarchar(50)")]
        public string OrganizeId { get; set; }

        /// <summary>
        /// 所属机构id
        /// </summary>
        [SugarColumn(ColumnName = "F_MechanismId", ColumnDescription = "所属机构id")]
        public string MechanismId { get; set; }

        /// <summary>
        /// 文件清单分类id
        /// </summary>
        [SugarColumn(ColumnName = "F_ClassifyId", ColumnDescription = "文件清单分类id")]
        public string ClassifyId { get; set; }

        /// <summary>
        /// 工作项/事项
        /// </summary>
        [SugarColumn(ColumnName = "F_WorkItem", ColumnDescription = "工作项/事项")]
        public string WorkItem { get; set; }

        /// <summary>
        /// 编号
        /// </summary>
        [SugarColumn(ColumnName = "F_Code", ColumnDescription = "编号")]
        public string Code { get; set; }

        /// <summary>
        /// 表单样服务器存储路径
        /// </summary>
        [SugarColumn(ColumnName = "F_SampleFormFilePath", ColumnDescription = "表单样服务器存储路径")]
        public string SampleFormFilePath { get; set; }

        /// <summary>
        /// 备注/描述/说明
        /// </summary>
        [SugarColumn(ColumnName = "F_Description")]
        public string Description { get; set; }

        /// <summary>
        /// 排序码
        /// </summary>
        [SugarColumn(ColumnName = "F_SortCode")]
        public long? SortCode { get; set; }
    }
}
